﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using System.IO;
using System.Data.Common;
using SimpleData.Tests.Helpers;

namespace SimpleData
{
	/// <summary>
	/// 
	/// </summary>
	public static class RepositoryExtensions
	{

		public static DbApi Db( this Runtime runtime )
		{
			return new DbApi( runtime, new DataAccess.SqlClient.SqlConnectionFactory().Create() );
		}
	}


	
}
